cmake_minimum_required(VERSION 3.17)
project(SoftRender)

set(CMAKE_CXX_STANDARD 14)
add_subdirectory(glm)
add_executable(SoftRender main.cpp RenderPipeline.cpp RenderPipeline.h WindowsApplication.cpp WindowsApplication.h Shader/IShader.h FrameBuffer.cpp FrameBuffer.h Model/IMesh.h Model/StaticMesh.cpp Model/StaticMesh.h Texture.cpp Texture.h Light/ILight.h Camera.cpp Camera.h Material/IMaterial.h Vertex.cpp Vertex.h Buffer.cpp Buffer.h Common.h GameTimer.h GameTimer.cpp InputManager.h InputManager.cpp Shader/PhongShader.cpp Shader/PhongShader.h Model/SphereMesh.cpp Model/SphereMesh.h test.cpp test.h Model/BoxMesh.cpp Model/BoxMesh.h Shader/LambertShader.cpp Shader/LambertShader.h)